<ion-popover-view id="dropdown-menu">
  <div>
    <a class="item" ng-repeat="item in items" ng-class="item.img == undefined ? '':'item-icon-left'" on-tap="click($index)">
      <img class="icon" ng-src='{{item.img}}' ng-if="item.img != undefined">
      <span class="text" >{{item.text}}</span>
    </a>
  </div>
</ion-popover-view>

